Sparse recovery with L1 shrinkage iteration for higher denominational image classification











up vote
0
down vote

favorite












For 2 months I have been studying sparse recovery and its applications for image classification and I have found that it's a broad area in mathematics which gives rise to a wide variety of regularization techniques. However, I am struggling to understand and implement the sparse recovery of the sparse vector by $L_1$ shrinkage iteration based on prior knowledge of labels.



Actually, I have a dictionary size $200 times 58000$ (fat matrix) which constructed by a prior knowledge of classes (which needs to be redundant), and I have the knowledge of labels and I try to find the $L^1$ optimal solution using soft-shrinkage iteration which is as follows:



We have the linear combination.
$$y = Dx$$
and we use the least squares method to minimize $x$



$$|y - Dx|^2 + lambda|x|_1tomin_x$$



My question is, how to compute the $x$ first and then create an iterative method to update its quantity?



Or should I initialize $x$ to e.g $0$ and then wrap it with an iterative method to be updated? if so, how to formulate that particular iterative method?



Appreciate your help and response.



Edited



Is the following equation the derivation of least squire with $L_1$?
How can I end up to the following equation?



Note: Of course the superscripts denote the number of iterations.



$$x^{n+1} = Slambda /2(x^n + D^T(y - D x^n)) $$










share|cite|improve this question




























    up vote
    0
    down vote

    favorite












    For 2 months I have been studying sparse recovery and its applications for image classification and I have found that it's a broad area in mathematics which gives rise to a wide variety of regularization techniques. However, I am struggling to understand and implement the sparse recovery of the sparse vector by $L_1$ shrinkage iteration based on prior knowledge of labels.



    Actually, I have a dictionary size $200 times 58000$ (fat matrix) which constructed by a prior knowledge of classes (which needs to be redundant), and I have the knowledge of labels and I try to find the $L^1$ optimal solution using soft-shrinkage iteration which is as follows:



    We have the linear combination.
    $$y = Dx$$
    and we use the least squares method to minimize $x$



    $$|y - Dx|^2 + lambda|x|_1tomin_x$$



    My question is, how to compute the $x$ first and then create an iterative method to update its quantity?



    Or should I initialize $x$ to e.g $0$ and then wrap it with an iterative method to be updated? if so, how to formulate that particular iterative method?



    Appreciate your help and response.



    Edited



    Is the following equation the derivation of least squire with $L_1$?
    How can I end up to the following equation?



    Note: Of course the superscripts denote the number of iterations.



    $$x^{n+1} = Slambda /2(x^n + D^T(y - D x^n)) $$










    share|cite|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      For 2 months I have been studying sparse recovery and its applications for image classification and I have found that it's a broad area in mathematics which gives rise to a wide variety of regularization techniques. However, I am struggling to understand and implement the sparse recovery of the sparse vector by $L_1$ shrinkage iteration based on prior knowledge of labels.



      Actually, I have a dictionary size $200 times 58000$ (fat matrix) which constructed by a prior knowledge of classes (which needs to be redundant), and I have the knowledge of labels and I try to find the $L^1$ optimal solution using soft-shrinkage iteration which is as follows:



      We have the linear combination.
      $$y = Dx$$
      and we use the least squares method to minimize $x$



      $$|y - Dx|^2 + lambda|x|_1tomin_x$$



      My question is, how to compute the $x$ first and then create an iterative method to update its quantity?



      Or should I initialize $x$ to e.g $0$ and then wrap it with an iterative method to be updated? if so, how to formulate that particular iterative method?



      Appreciate your help and response.



      Edited



      Is the following equation the derivation of least squire with $L_1$?
      How can I end up to the following equation?



      Note: Of course the superscripts denote the number of iterations.



      $$x^{n+1} = Slambda /2(x^n + D^T(y - D x^n)) $$










      share|cite|improve this question















      For 2 months I have been studying sparse recovery and its applications for image classification and I have found that it's a broad area in mathematics which gives rise to a wide variety of regularization techniques. However, I am struggling to understand and implement the sparse recovery of the sparse vector by $L_1$ shrinkage iteration based on prior knowledge of labels.



      Actually, I have a dictionary size $200 times 58000$ (fat matrix) which constructed by a prior knowledge of classes (which needs to be redundant), and I have the knowledge of labels and I try to find the $L^1$ optimal solution using soft-shrinkage iteration which is as follows:



      We have the linear combination.
      $$y = Dx$$
      and we use the least squares method to minimize $x$



      $$|y - Dx|^2 + lambda|x|_1tomin_x$$



      My question is, how to compute the $x$ first and then create an iterative method to update its quantity?



      Or should I initialize $x$ to e.g $0$ and then wrap it with an iterative method to be updated? if so, how to formulate that particular iterative method?



      Appreciate your help and response.



      Edited



      Is the following equation the derivation of least squire with $L_1$?
      How can I end up to the following equation?



      Note: Of course the superscripts denote the number of iterations.



      $$x^{n+1} = Slambda /2(x^n + D^T(y - D x^n)) $$







      least-squares regularization sparse-matrices sparsity






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 19 at 23:59

























      asked Nov 15 at 23:56









      morteza

      35




      35






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          You may solve the minimisation problem



          $$|y-Dx|+lambda|x|_1tomin_x$$



          using the so-called Fast Iterative Shrinkage Thresholding Algorithm (FISTA).



          It's an iterative method which essentially consists of setting of setting the step size $L$ as the largest eigenvalue of $D^ast D$, the initial values as $z_1=x_0$, $t_1=1$ and iterating



          $$z_k=operatorname{prox}_{Lfrac{1}{lambda}|cdot|_1}(y-D^ast(y-Dx_k)),$$
          $$t_{k+1}=frac{1+sqrt{1+4t^2_k}}{2},$$
          $$x_{k+1}=z_k+left(frac{t_k-1}{t_{k-1}}right)(z_k-z_{k-1}).$$



          Note that the nice property of the $|cdot|_1$ regularisation term is that it has a closed form proximal mapping operator:



          $$operatorname{prox}_{alpha|cdot|_1}(x)=operatorname{sign}(x_i)max{|x_i|-alpha,0},$$
          which is just the soft thresholding operator.



          You can read more about FISTA here: FISTA






          share|cite|improve this answer





















          • Dear Kemal, I do appreciate you for the answer. I have found it helpful. BTW, I have added an Edited part which tells the point which I want.
            – morteza
            Nov 19 at 13:18











          Your Answer





          StackExchange.ifUsing("editor", function () {
          return StackExchange.using("mathjaxEditing", function () {
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          });
          });
          }, "mathjax-editing");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "69"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3000515%2fsparse-recovery-with-l1-shrinkage-iteration-for-higher-denominational-image-clas%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote



          accepted










          You may solve the minimisation problem



          $$|y-Dx|+lambda|x|_1tomin_x$$



          using the so-called Fast Iterative Shrinkage Thresholding Algorithm (FISTA).



          It's an iterative method which essentially consists of setting of setting the step size $L$ as the largest eigenvalue of $D^ast D$, the initial values as $z_1=x_0$, $t_1=1$ and iterating



          $$z_k=operatorname{prox}_{Lfrac{1}{lambda}|cdot|_1}(y-D^ast(y-Dx_k)),$$
          $$t_{k+1}=frac{1+sqrt{1+4t^2_k}}{2},$$
          $$x_{k+1}=z_k+left(frac{t_k-1}{t_{k-1}}right)(z_k-z_{k-1}).$$



          Note that the nice property of the $|cdot|_1$ regularisation term is that it has a closed form proximal mapping operator:



          $$operatorname{prox}_{alpha|cdot|_1}(x)=operatorname{sign}(x_i)max{|x_i|-alpha,0},$$
          which is just the soft thresholding operator.



          You can read more about FISTA here: FISTA






          share|cite|improve this answer





















          • Dear Kemal, I do appreciate you for the answer. I have found it helpful. BTW, I have added an Edited part which tells the point which I want.
            – morteza
            Nov 19 at 13:18















          up vote
          0
          down vote



          accepted










          You may solve the minimisation problem



          $$|y-Dx|+lambda|x|_1tomin_x$$



          using the so-called Fast Iterative Shrinkage Thresholding Algorithm (FISTA).



          It's an iterative method which essentially consists of setting of setting the step size $L$ as the largest eigenvalue of $D^ast D$, the initial values as $z_1=x_0$, $t_1=1$ and iterating



          $$z_k=operatorname{prox}_{Lfrac{1}{lambda}|cdot|_1}(y-D^ast(y-Dx_k)),$$
          $$t_{k+1}=frac{1+sqrt{1+4t^2_k}}{2},$$
          $$x_{k+1}=z_k+left(frac{t_k-1}{t_{k-1}}right)(z_k-z_{k-1}).$$



          Note that the nice property of the $|cdot|_1$ regularisation term is that it has a closed form proximal mapping operator:



          $$operatorname{prox}_{alpha|cdot|_1}(x)=operatorname{sign}(x_i)max{|x_i|-alpha,0},$$
          which is just the soft thresholding operator.



          You can read more about FISTA here: FISTA






          share|cite|improve this answer





















          • Dear Kemal, I do appreciate you for the answer. I have found it helpful. BTW, I have added an Edited part which tells the point which I want.
            – morteza
            Nov 19 at 13:18













          up vote
          0
          down vote



          accepted







          up vote
          0
          down vote



          accepted






          You may solve the minimisation problem



          $$|y-Dx|+lambda|x|_1tomin_x$$



          using the so-called Fast Iterative Shrinkage Thresholding Algorithm (FISTA).



          It's an iterative method which essentially consists of setting of setting the step size $L$ as the largest eigenvalue of $D^ast D$, the initial values as $z_1=x_0$, $t_1=1$ and iterating



          $$z_k=operatorname{prox}_{Lfrac{1}{lambda}|cdot|_1}(y-D^ast(y-Dx_k)),$$
          $$t_{k+1}=frac{1+sqrt{1+4t^2_k}}{2},$$
          $$x_{k+1}=z_k+left(frac{t_k-1}{t_{k-1}}right)(z_k-z_{k-1}).$$



          Note that the nice property of the $|cdot|_1$ regularisation term is that it has a closed form proximal mapping operator:



          $$operatorname{prox}_{alpha|cdot|_1}(x)=operatorname{sign}(x_i)max{|x_i|-alpha,0},$$
          which is just the soft thresholding operator.



          You can read more about FISTA here: FISTA






          share|cite|improve this answer












          You may solve the minimisation problem



          $$|y-Dx|+lambda|x|_1tomin_x$$



          using the so-called Fast Iterative Shrinkage Thresholding Algorithm (FISTA).



          It's an iterative method which essentially consists of setting of setting the step size $L$ as the largest eigenvalue of $D^ast D$, the initial values as $z_1=x_0$, $t_1=1$ and iterating



          $$z_k=operatorname{prox}_{Lfrac{1}{lambda}|cdot|_1}(y-D^ast(y-Dx_k)),$$
          $$t_{k+1}=frac{1+sqrt{1+4t^2_k}}{2},$$
          $$x_{k+1}=z_k+left(frac{t_k-1}{t_{k-1}}right)(z_k-z_{k-1}).$$



          Note that the nice property of the $|cdot|_1$ regularisation term is that it has a closed form proximal mapping operator:



          $$operatorname{prox}_{alpha|cdot|_1}(x)=operatorname{sign}(x_i)max{|x_i|-alpha,0},$$
          which is just the soft thresholding operator.



          You can read more about FISTA here: FISTA







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Nov 18 at 16:52









          Kemal Raik

          304




          304












          • Dear Kemal, I do appreciate you for the answer. I have found it helpful. BTW, I have added an Edited part which tells the point which I want.
            – morteza
            Nov 19 at 13:18


















          • Dear Kemal, I do appreciate you for the answer. I have found it helpful. BTW, I have added an Edited part which tells the point which I want.
            – morteza
            Nov 19 at 13:18
















          Dear Kemal, I do appreciate you for the answer. I have found it helpful. BTW, I have added an Edited part which tells the point which I want.
          – morteza
          Nov 19 at 13:18




          Dear Kemal, I do appreciate you for the answer. I have found it helpful. BTW, I have added an Edited part which tells the point which I want.
          – morteza
          Nov 19 at 13:18


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Mathematics Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3000515%2fsparse-recovery-with-l1-shrinkage-iteration-for-higher-denominational-image-clas%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

          ComboBox Display Member on multiple fields

          Is it possible to collect Nectar points via Trainline?