{"id":2386,"date":"2026-05-05T23:50:40","date_gmt":"2026-05-05T15:50:40","guid":{"rendered":"https:\/\/oknomad.blog\/?p=2386"},"modified":"2026-05-06T11:10:40","modified_gmt":"2026-05-06T03:10:40","slug":"paralu-a-new-activation-function-of-uat","status":"publish","type":"post","link":"https:\/\/oknomad.blog\/?p=2386","title":{"rendered":"ParaLU &amp; QuartLU &#8211; activation functions for Neural Network"},"content":{"rendered":"\n<p>I just tried some simple activation functions for UAT\/Neural Network &#8211; ParaLU and QuartLU which are Parabolic Linear Unit and Quartic Linear Unit.<\/p>\n\n\n\n<p>I made a 1000 features and 4 hidden layers neural network to approximate 21 pairs of x and y. In the test, ParaLU converges much slower in training than Sigmoid but similarly or sometime better than ReLU. QuartLU converges also much slower than Sigmoid but obviously better than ParaLU and Relu. Sigmoid is a really monster in training that it converges really fast.<\/p>\n\n\n\n<p>ParaLU and QuartLU below are all continously differentiable in all x.<\/p>\n\n\n\n<p>1) ParaLU&#8217;s math:<\/p>\n\n\n\n<p>if x&lt;-scope, y=0 and y&#8217;=0; <\/p>\n\n\n\n<p>else if x&lt;scope, y=(x+scope)**2\/(scope*4) and y&#8217;=(x+scope)\/(2*scope);<\/p>\n\n\n\n<p>else y=x and y&#8217;=1.<\/p>\n\n\n\n<p>It seems that scope=1 is good for ParaLU above.<\/p>\n\n\n\n<p>2) QuartLU&#8217;s math<\/p>\n\n\n\n<p>if x&lt;-scope, y=0 and y&#8217;=0;<\/p>\n\n\n\n<p>else if x&lt;(scope\/3), y=(x+scope)**4*27\/(256*scope**3);<\/p>\n\n\n\n<p>else y=x and y&#8217;=1.<\/p>\n\n\n\n<p>It seems that scope=1.5 is good for QuartLU above.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Both Gemini and Grok searched and confirmed that there are no exactly same activation functions as ParaLU or QuartLU although there are similar ones. <\/p>\n\n\n\n<p>Also both commented that ParaLU and QuartLU have much lower working load on hardware than Sigmoid like ReLU but at same time are continuously differentiable on all x.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just tried some simple activation functions for UAT\/Neural Network &#8211; ParaLU and QuartLU which are Parabolic Linear Unit and Quartic Linear Unit. I made&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/oknomad.blog\/?p=2386\">Continue reading<span class=\"screen-reader-text\">ParaLU &amp; QuartLU &#8211; activation functions for Neural Network<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2386","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/oknomad.blog\/index.php?rest_route=\/wp\/v2\/posts\/2386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oknomad.blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oknomad.blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oknomad.blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oknomad.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2386"}],"version-history":[{"count":25,"href":"https:\/\/oknomad.blog\/index.php?rest_route=\/wp\/v2\/posts\/2386\/revisions"}],"predecessor-version":[{"id":2420,"href":"https:\/\/oknomad.blog\/index.php?rest_route=\/wp\/v2\/posts\/2386\/revisions\/2420"}],"wp:attachment":[{"href":"https:\/\/oknomad.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oknomad.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oknomad.blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}