Why is $|A-BCA|_F^2$ non-convex regarding $B,C$?












1












$begingroup$


I noticed somewhere, a function similar to $|A-BCA|_F^2$ was claimed to be non-convex regarding $B$ or $C$ individually, while a relaxation like $D=CA$ makes $|A-BD|_F^2$ convex respect to each $B$ and $D$ individually. The matrices $A, B, C, D$ are not square-matrix, and by individually, I mean assuming the value of one matrix fixed while analyzing w.r.t the other matrix.



Honestly, I do not understand why the first one is non-convex while the latter is convex?



Update:



In fact, i fund the above claim in
This NIPS paper, where they claimed that Eq. 5 is not a convex problem w.r.t $P_k$, but the relaxation in Eq. 6 makes the objective convex w.r.t to each of the components.










share|cite|improve this question











$endgroup$












  • $begingroup$
    I doubt that the latter function is convex. Even in the one-dimensional case, $f(x,y) = (1-xy)^2$ is not convex in $(x,y)$.
    $endgroup$
    – gerw
    Jan 23 at 10:43










  • $begingroup$
    @gerw: I meant considering convexity w.r.t one matrix at a time. In your 1-D example, $f(x,y)$ is convex w.r.t $x$ or $y$ individually.
    $endgroup$
    – Babak
    Jan 27 at 17:41










  • $begingroup$
    If you are interested in this separate convexity, also the first function should be convex (w.r.t. this notion).
    $endgroup$
    – gerw
    Jan 27 at 19:49










  • $begingroup$
    @gerw: how can you show that?!
    $endgroup$
    – Babak
    Jan 27 at 20:27










  • $begingroup$
    @gerw: I'm especially interested in the convexity of the first function regarding $C$!
    $endgroup$
    – Babak
    Jan 27 at 20:34


















1












$begingroup$


I noticed somewhere, a function similar to $|A-BCA|_F^2$ was claimed to be non-convex regarding $B$ or $C$ individually, while a relaxation like $D=CA$ makes $|A-BD|_F^2$ convex respect to each $B$ and $D$ individually. The matrices $A, B, C, D$ are not square-matrix, and by individually, I mean assuming the value of one matrix fixed while analyzing w.r.t the other matrix.



Honestly, I do not understand why the first one is non-convex while the latter is convex?



Update:



In fact, i fund the above claim in
This NIPS paper, where they claimed that Eq. 5 is not a convex problem w.r.t $P_k$, but the relaxation in Eq. 6 makes the objective convex w.r.t to each of the components.










share|cite|improve this question











$endgroup$












  • $begingroup$
    I doubt that the latter function is convex. Even in the one-dimensional case, $f(x,y) = (1-xy)^2$ is not convex in $(x,y)$.
    $endgroup$
    – gerw
    Jan 23 at 10:43










  • $begingroup$
    @gerw: I meant considering convexity w.r.t one matrix at a time. In your 1-D example, $f(x,y)$ is convex w.r.t $x$ or $y$ individually.
    $endgroup$
    – Babak
    Jan 27 at 17:41










  • $begingroup$
    If you are interested in this separate convexity, also the first function should be convex (w.r.t. this notion).
    $endgroup$
    – gerw
    Jan 27 at 19:49










  • $begingroup$
    @gerw: how can you show that?!
    $endgroup$
    – Babak
    Jan 27 at 20:27










  • $begingroup$
    @gerw: I'm especially interested in the convexity of the first function regarding $C$!
    $endgroup$
    – Babak
    Jan 27 at 20:34
















1












1








1





$begingroup$


I noticed somewhere, a function similar to $|A-BCA|_F^2$ was claimed to be non-convex regarding $B$ or $C$ individually, while a relaxation like $D=CA$ makes $|A-BD|_F^2$ convex respect to each $B$ and $D$ individually. The matrices $A, B, C, D$ are not square-matrix, and by individually, I mean assuming the value of one matrix fixed while analyzing w.r.t the other matrix.



Honestly, I do not understand why the first one is non-convex while the latter is convex?



Update:



In fact, i fund the above claim in
This NIPS paper, where they claimed that Eq. 5 is not a convex problem w.r.t $P_k$, but the relaxation in Eq. 6 makes the objective convex w.r.t to each of the components.










share|cite|improve this question











$endgroup$




I noticed somewhere, a function similar to $|A-BCA|_F^2$ was claimed to be non-convex regarding $B$ or $C$ individually, while a relaxation like $D=CA$ makes $|A-BD|_F^2$ convex respect to each $B$ and $D$ individually. The matrices $A, B, C, D$ are not square-matrix, and by individually, I mean assuming the value of one matrix fixed while analyzing w.r.t the other matrix.



Honestly, I do not understand why the first one is non-convex while the latter is convex?



Update:



In fact, i fund the above claim in
This NIPS paper, where they claimed that Eq. 5 is not a convex problem w.r.t $P_k$, but the relaxation in Eq. 6 makes the objective convex w.r.t to each of the components.







linear-algebra derivatives convex-analysis






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 28 at 9:54







Babak

















asked Jan 22 at 23:33









BabakBabak

354111




354111












  • $begingroup$
    I doubt that the latter function is convex. Even in the one-dimensional case, $f(x,y) = (1-xy)^2$ is not convex in $(x,y)$.
    $endgroup$
    – gerw
    Jan 23 at 10:43










  • $begingroup$
    @gerw: I meant considering convexity w.r.t one matrix at a time. In your 1-D example, $f(x,y)$ is convex w.r.t $x$ or $y$ individually.
    $endgroup$
    – Babak
    Jan 27 at 17:41










  • $begingroup$
    If you are interested in this separate convexity, also the first function should be convex (w.r.t. this notion).
    $endgroup$
    – gerw
    Jan 27 at 19:49










  • $begingroup$
    @gerw: how can you show that?!
    $endgroup$
    – Babak
    Jan 27 at 20:27










  • $begingroup$
    @gerw: I'm especially interested in the convexity of the first function regarding $C$!
    $endgroup$
    – Babak
    Jan 27 at 20:34




















  • $begingroup$
    I doubt that the latter function is convex. Even in the one-dimensional case, $f(x,y) = (1-xy)^2$ is not convex in $(x,y)$.
    $endgroup$
    – gerw
    Jan 23 at 10:43










  • $begingroup$
    @gerw: I meant considering convexity w.r.t one matrix at a time. In your 1-D example, $f(x,y)$ is convex w.r.t $x$ or $y$ individually.
    $endgroup$
    – Babak
    Jan 27 at 17:41










  • $begingroup$
    If you are interested in this separate convexity, also the first function should be convex (w.r.t. this notion).
    $endgroup$
    – gerw
    Jan 27 at 19:49










  • $begingroup$
    @gerw: how can you show that?!
    $endgroup$
    – Babak
    Jan 27 at 20:27










  • $begingroup$
    @gerw: I'm especially interested in the convexity of the first function regarding $C$!
    $endgroup$
    – Babak
    Jan 27 at 20:34


















$begingroup$
I doubt that the latter function is convex. Even in the one-dimensional case, $f(x,y) = (1-xy)^2$ is not convex in $(x,y)$.
$endgroup$
– gerw
Jan 23 at 10:43




$begingroup$
I doubt that the latter function is convex. Even in the one-dimensional case, $f(x,y) = (1-xy)^2$ is not convex in $(x,y)$.
$endgroup$
– gerw
Jan 23 at 10:43












$begingroup$
@gerw: I meant considering convexity w.r.t one matrix at a time. In your 1-D example, $f(x,y)$ is convex w.r.t $x$ or $y$ individually.
$endgroup$
– Babak
Jan 27 at 17:41




$begingroup$
@gerw: I meant considering convexity w.r.t one matrix at a time. In your 1-D example, $f(x,y)$ is convex w.r.t $x$ or $y$ individually.
$endgroup$
– Babak
Jan 27 at 17:41












$begingroup$
If you are interested in this separate convexity, also the first function should be convex (w.r.t. this notion).
$endgroup$
– gerw
Jan 27 at 19:49




$begingroup$
If you are interested in this separate convexity, also the first function should be convex (w.r.t. this notion).
$endgroup$
– gerw
Jan 27 at 19:49












$begingroup$
@gerw: how can you show that?!
$endgroup$
– Babak
Jan 27 at 20:27




$begingroup$
@gerw: how can you show that?!
$endgroup$
– Babak
Jan 27 at 20:27












$begingroup$
@gerw: I'm especially interested in the convexity of the first function regarding $C$!
$endgroup$
– Babak
Jan 27 at 20:34






$begingroup$
@gerw: I'm especially interested in the convexity of the first function regarding $C$!
$endgroup$
– Babak
Jan 27 at 20:34












1 Answer
1






active

oldest

votes


















1












$begingroup$

Let us check that the first function is convex w.r.t. $C$. Thus, we have to show that the function
$$t mapsto | A - B , (C + t , D) , A|_F$$
is convex for all matrices $D$. Let us abbreviate $G := A - B , C , A$ and $H := B , D , A$. Then,
$$
|A - B , (C + t , D) , A|_F
=
|G - t , H|_F^2
=
|G|_F^2 - 2 , t , (G,H)_F + t^2 , |H|_F^2$$

and this function is clearly convex w.r.t. $t$. Here, $(cdot,cdot)_F$ is the Frobenius inner product.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    So, you are saying that a function $f(X)$ would be convex w.r.t matrix $X$ if $f(X+tY)$ is convex w.r.t the scalar $t$?
    $endgroup$
    – Babak
    Jan 28 at 9:50










  • $begingroup$
    Also, does it mean that they made a wrong claim in papers.nips.cc/paper/… regarding the convexity of Eq. 5 w.r.t each of its component?
    $endgroup$
    – Babak
    Jan 28 at 9:59










  • $begingroup$
    I do not see any statement w.r.t. separate convexity of (5). They only say that (5) is not convex.
    $endgroup$
    – gerw
    Jan 28 at 10:44










  • $begingroup$
    Then what was the point of converting (5) to (6) given (5) is separately convex? Couldn't they apply the same optimization procedure directing on (5)?
    $endgroup$
    – Babak
    Jan 28 at 11:07











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',
autoActivateHeartbeat: false,
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%2f3083872%2fwhy-is-a-bca-f2-non-convex-regarding-b-c%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









1












$begingroup$

Let us check that the first function is convex w.r.t. $C$. Thus, we have to show that the function
$$t mapsto | A - B , (C + t , D) , A|_F$$
is convex for all matrices $D$. Let us abbreviate $G := A - B , C , A$ and $H := B , D , A$. Then,
$$
|A - B , (C + t , D) , A|_F
=
|G - t , H|_F^2
=
|G|_F^2 - 2 , t , (G,H)_F + t^2 , |H|_F^2$$

and this function is clearly convex w.r.t. $t$. Here, $(cdot,cdot)_F$ is the Frobenius inner product.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    So, you are saying that a function $f(X)$ would be convex w.r.t matrix $X$ if $f(X+tY)$ is convex w.r.t the scalar $t$?
    $endgroup$
    – Babak
    Jan 28 at 9:50










  • $begingroup$
    Also, does it mean that they made a wrong claim in papers.nips.cc/paper/… regarding the convexity of Eq. 5 w.r.t each of its component?
    $endgroup$
    – Babak
    Jan 28 at 9:59










  • $begingroup$
    I do not see any statement w.r.t. separate convexity of (5). They only say that (5) is not convex.
    $endgroup$
    – gerw
    Jan 28 at 10:44










  • $begingroup$
    Then what was the point of converting (5) to (6) given (5) is separately convex? Couldn't they apply the same optimization procedure directing on (5)?
    $endgroup$
    – Babak
    Jan 28 at 11:07
















1












$begingroup$

Let us check that the first function is convex w.r.t. $C$. Thus, we have to show that the function
$$t mapsto | A - B , (C + t , D) , A|_F$$
is convex for all matrices $D$. Let us abbreviate $G := A - B , C , A$ and $H := B , D , A$. Then,
$$
|A - B , (C + t , D) , A|_F
=
|G - t , H|_F^2
=
|G|_F^2 - 2 , t , (G,H)_F + t^2 , |H|_F^2$$

and this function is clearly convex w.r.t. $t$. Here, $(cdot,cdot)_F$ is the Frobenius inner product.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    So, you are saying that a function $f(X)$ would be convex w.r.t matrix $X$ if $f(X+tY)$ is convex w.r.t the scalar $t$?
    $endgroup$
    – Babak
    Jan 28 at 9:50










  • $begingroup$
    Also, does it mean that they made a wrong claim in papers.nips.cc/paper/… regarding the convexity of Eq. 5 w.r.t each of its component?
    $endgroup$
    – Babak
    Jan 28 at 9:59










  • $begingroup$
    I do not see any statement w.r.t. separate convexity of (5). They only say that (5) is not convex.
    $endgroup$
    – gerw
    Jan 28 at 10:44










  • $begingroup$
    Then what was the point of converting (5) to (6) given (5) is separately convex? Couldn't they apply the same optimization procedure directing on (5)?
    $endgroup$
    – Babak
    Jan 28 at 11:07














1












1








1





$begingroup$

Let us check that the first function is convex w.r.t. $C$. Thus, we have to show that the function
$$t mapsto | A - B , (C + t , D) , A|_F$$
is convex for all matrices $D$. Let us abbreviate $G := A - B , C , A$ and $H := B , D , A$. Then,
$$
|A - B , (C + t , D) , A|_F
=
|G - t , H|_F^2
=
|G|_F^2 - 2 , t , (G,H)_F + t^2 , |H|_F^2$$

and this function is clearly convex w.r.t. $t$. Here, $(cdot,cdot)_F$ is the Frobenius inner product.






share|cite|improve this answer









$endgroup$



Let us check that the first function is convex w.r.t. $C$. Thus, we have to show that the function
$$t mapsto | A - B , (C + t , D) , A|_F$$
is convex for all matrices $D$. Let us abbreviate $G := A - B , C , A$ and $H := B , D , A$. Then,
$$
|A - B , (C + t , D) , A|_F
=
|G - t , H|_F^2
=
|G|_F^2 - 2 , t , (G,H)_F + t^2 , |H|_F^2$$

and this function is clearly convex w.r.t. $t$. Here, $(cdot,cdot)_F$ is the Frobenius inner product.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Jan 28 at 7:13









gerwgerw

19.6k11334




19.6k11334












  • $begingroup$
    So, you are saying that a function $f(X)$ would be convex w.r.t matrix $X$ if $f(X+tY)$ is convex w.r.t the scalar $t$?
    $endgroup$
    – Babak
    Jan 28 at 9:50










  • $begingroup$
    Also, does it mean that they made a wrong claim in papers.nips.cc/paper/… regarding the convexity of Eq. 5 w.r.t each of its component?
    $endgroup$
    – Babak
    Jan 28 at 9:59










  • $begingroup$
    I do not see any statement w.r.t. separate convexity of (5). They only say that (5) is not convex.
    $endgroup$
    – gerw
    Jan 28 at 10:44










  • $begingroup$
    Then what was the point of converting (5) to (6) given (5) is separately convex? Couldn't they apply the same optimization procedure directing on (5)?
    $endgroup$
    – Babak
    Jan 28 at 11:07


















  • $begingroup$
    So, you are saying that a function $f(X)$ would be convex w.r.t matrix $X$ if $f(X+tY)$ is convex w.r.t the scalar $t$?
    $endgroup$
    – Babak
    Jan 28 at 9:50










  • $begingroup$
    Also, does it mean that they made a wrong claim in papers.nips.cc/paper/… regarding the convexity of Eq. 5 w.r.t each of its component?
    $endgroup$
    – Babak
    Jan 28 at 9:59










  • $begingroup$
    I do not see any statement w.r.t. separate convexity of (5). They only say that (5) is not convex.
    $endgroup$
    – gerw
    Jan 28 at 10:44










  • $begingroup$
    Then what was the point of converting (5) to (6) given (5) is separately convex? Couldn't they apply the same optimization procedure directing on (5)?
    $endgroup$
    – Babak
    Jan 28 at 11:07
















$begingroup$
So, you are saying that a function $f(X)$ would be convex w.r.t matrix $X$ if $f(X+tY)$ is convex w.r.t the scalar $t$?
$endgroup$
– Babak
Jan 28 at 9:50




$begingroup$
So, you are saying that a function $f(X)$ would be convex w.r.t matrix $X$ if $f(X+tY)$ is convex w.r.t the scalar $t$?
$endgroup$
– Babak
Jan 28 at 9:50












$begingroup$
Also, does it mean that they made a wrong claim in papers.nips.cc/paper/… regarding the convexity of Eq. 5 w.r.t each of its component?
$endgroup$
– Babak
Jan 28 at 9:59




$begingroup$
Also, does it mean that they made a wrong claim in papers.nips.cc/paper/… regarding the convexity of Eq. 5 w.r.t each of its component?
$endgroup$
– Babak
Jan 28 at 9:59












$begingroup$
I do not see any statement w.r.t. separate convexity of (5). They only say that (5) is not convex.
$endgroup$
– gerw
Jan 28 at 10:44




$begingroup$
I do not see any statement w.r.t. separate convexity of (5). They only say that (5) is not convex.
$endgroup$
– gerw
Jan 28 at 10:44












$begingroup$
Then what was the point of converting (5) to (6) given (5) is separately convex? Couldn't they apply the same optimization procedure directing on (5)?
$endgroup$
– Babak
Jan 28 at 11:07




$begingroup$
Then what was the point of converting (5) to (6) given (5) is separately convex? Couldn't they apply the same optimization procedure directing on (5)?
$endgroup$
– Babak
Jan 28 at 11:07


















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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3083872%2fwhy-is-a-bca-f2-non-convex-regarding-b-c%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

Mario Kart Wii

What does “Dominus providebit” mean?

Antonio Litta Visconti Arese